/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package desu.nya;

import javax.persistence.*;

/**
 *
 * @author Fess
 */

@Entity
@Table(name="alt_name"
    ,catalog="animedb"
)
public class AltName  implements java.io.Serializable{
    @Id
    @Column(name="id", unique=true, nullable=false)
     private Long id;
    @Column(name="ru", length=50)
     private String ru;
    @Column(name="en", length=50)
     private String en;
    @Column(name="gp", length=50)
     private String jp;

    public String getEn() {
        return en;
    }

    public Long getId() {
        return id;
    }

    public String getJp() {
        return jp;
    }

    public String getRu() {
        return ru;
    }

    public void setEn(String en) {
        this.en = en;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setJp(String jp) {
        this.jp = jp;
    }

    public void setRu(String ru) {
        this.ru = ru;
    }
    
    public AltName(){
        
    }
    
    public AltName(String name_ru, String name_en, String name_jp){
        ru=name_ru;
        en=name_en;
        jp=name_jp;
    }
}
